﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="DateType.ascx.cs" Inherits="UserControl_DateType" %>
<div style="font-weight: bold; font-size: 12px;">
    <div style="border-bottom: solid 1px #3366FF; padding-top: 2px" onmouseover='this.style.backgroundColor="#E2F0FB"'
        onmouseout='this.style.backgroundColor="#f4f4f4"'>
        查询模式：
        <asp:DropDownList ID="DDLQueryType" Width="100" runat="server" AutoPostBack="True">
            <asp:ListItem Text="自然月"></asp:ListItem>
            <asp:ListItem Text="445月"></asp:ListItem>
        </asp:DropDownList>
        <span style="width: 55px;"></span>时间模式：
        <asp:DropDownList ID="DDLDateType" Width="100" runat="server" OnSelectedIndexChanged="DDLDateType_SelectedIndexChanged"
            AutoPostBack="True">
        </asp:DropDownList>
    </div>
    <div id="divMonth" style="border-bottom: solid 1px #3366FF; padding-top: 2px" runat="server"
        visible="false" onmouseover='this.style.backgroundColor="#E2F0FB"' onmouseout='this.style.backgroundColor="#f4f4f4"'>
        查询时间：
        <asp:DropDownList ID="DDLStartYear_M" runat="server" Width="60" AutoPostBack="True"
            OnSelectedIndexChanged="DDLStartYear_M_SelectedIndexChanged">
        </asp:DropDownList>
        年
        <asp:DropDownList ID="DDLStartMonth" runat="server" Width="60">
        </asp:DropDownList>
        月 <span style="padding-left: 20px; padding-right: 20px">至</span>
        <asp:DropDownList ID="DDLEndYear_M" runat="server" Width="60" AutoPostBack="True"
            OnSelectedIndexChanged="DDLEndYear_M_SelectedIndexChanged">
        </asp:DropDownList>
        年
        <asp:DropDownList ID="DDLEndMonth" runat="server" Width="60">
        </asp:DropDownList>
        月
    </div>
    <div id="divWeek" style="border-bottom: solid 1px #3366FF; padding-top: 2px" runat="server"
        onmouseover='this.style.backgroundColor="#E2F0FB"' onmouseout='this.style.backgroundColor="#f4f4f4"'>
        查询时间：
        <asp:DropDownList ID="DDLStartYear_W" runat="server" Width="60" OnSelectedIndexChanged="DDLStartYear_W_SelectedIndexChanged"
            AutoPostBack="True">
        </asp:DropDownList>
        年
        <asp:DropDownList ID="DDLStartWeek" runat="server" Width="60">
        </asp:DropDownList>
        周 <span style="padding-left: 20px; padding-right: 20px">至</span>
        <asp:DropDownList ID="DDLEndYear_W" runat="server" Width="60" OnSelectedIndexChanged="DDLEndYear_W_SelectedIndexChanged"
            AutoPostBack="True">
        </asp:DropDownList>
        年
        <asp:DropDownList ID="DDLEndWeek" runat="server" Width="60">
        </asp:DropDownList>
        周
    </div>
    <div id="divDay" style="border-bottom: solid 1px #3366FF; padding-top: 2px" runat="server"
        visible="false" onmouseover='this.style.backgroundColor="#E2F0FB"' onmouseout='this.style.backgroundColor="#f4f4f4"'>
        查询时间：
        <asp:TextBox runat="server" ID="txtStartDate" CssClass="Wdate" onfocus="WdatePicker()"
            Width="100px"></asp:TextBox>
        <span style="padding-left: 20px; padding-right: 20px">至</span>
        <asp:TextBox runat="server" ID="txtEndDate" CssClass="Wdate" onfocus="WdatePicker()"
            Width="100px"></asp:TextBox>
    </div>
</div>
